package com.zhb.austapp.bean;

/**
 * @ProjectName: AustApp
 * @Package: com.zhb.austapp.bean
 * @ClassName: LoginReturn
 * @Author: rain
 * @CreateDate 2021/4/30 23:56
 */
public class LoginReturn {
    private boolean success;
    private String message;
    private int code=200;
    private Result result;
    private long timestamp;

    public Result getResult() {
        return result;
    }

    public void setResult(Result result) {
        this.result = result;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    @Override
    public String toString() {
        return "LoginReturn{" +
                "success=" + success +
                ", message='" + message + '\'' +
                ", code=" + code +
                ", result=" + result +
                ", timestamp=" + timestamp +
                '}';
    }
}
